package com.xzlcPT.service;

import com.util.PageBean;
import com.xzlcPT.bean.XzMsg;

import java.util.Map;

/**
 * Created by Administrator on 2017/8/8.
 */
public interface XzMsgService {
    PageBean<XzMsg> selectByReceiveId(int page,int rows,Long msgReceiveId);
    int deleteById (Long msgId);
    XzMsg updateToReadById(Long msgId);
    int deleteAll(Long [] ids);
    int noReadCount(Long msgReceiveId);
    int insertSelective(XzMsg xzMsg);
    int selSendMsg(Map map);
    PageBean<XzMsg> selAllMsg(int page,int row,XzMsg xzMsg);
    XzMsg selMsgById(Long msgId);
    int updateMsgByEmp(XzMsg xzMsg);
    int updateIsReadById(Long msgId);
}
